<taglib name='Et' />
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<webmeta />
<!--公共样式开始-->
<link rel="stylesheet" type="text/css" href="{$NOW_THEME_URL}/Assets/Css/reset.css" />
<link rel="stylesheet" type="text/css" href="{$NOW_THEME_URL}/Assets/Css/common.css" />
<link rel="stylesheet" type="text/css" href="{$NOW_THEME_URL}/Assets/Plugins/FontAwesome/css/font-awesome.min.css" />
<!--[if lt IE 7]>
<link rel="stylesheet" type="text/css" href="{$NOW_THEME_URL}/Assets/Plugins/FontAwesome/css/font-awesome-ie7.min.css" />
<![endif]-->
<!--公共样式结束-->
<!--页面样式开始-->
<link rel="stylesheet" type="text/css" href="{$NOW_THEME_URL}/Assets/Css/page_new.css" />
<!--页面样式结束-->
<script type="text/javascript" src="{$NOW_THEME_URL}/Assets/Js/jquery-1.8.3.min.js"></script>
<script type="text/javascript" src="{$NOW_THEME_URL}/Assets/Js/jquery.SuperSlide.2.1.1.js"></script>
</head>

<body>
	<div class="zhezhao"></div>
<div class="zz">
	<!--top start-->
	<include file="Public:header" lang="true" />
	<!--top end-->
	<!--content start-->
	<div class="content">
	<detail model="Artonce" lang="true" >
		<h1>{$title}</h1>
		<div class="artonce">{$content}</div>
	</detail>
	</div>
	<!--content end-->
	<!--footer start-->
	<include file="Public:footer" lang="true" />
	<!--footer end-->
</div>
<script type="text/javascript">
	//返回顶部
	$(window).on('scroll',function(){
		var scrollTop = $(document).scrollTop();
	});
	
	$(function(){
		//悬浮框显示隐藏
		$('.online').on('hover',function(){
			$('.online ul').toggle();
			//$('.rlico').toggleClass('rlico2');
		});
		$('.addressinput').change(function(){
			var val = $(this).val();
			$('.addressspan').html(val)
			if(val){
				$('.address_choose').show();
			}else{
				$('.address_choose').hide();
			}
		})
		
		$("#href_1").on('click',function(){
			var href = addic();
			$(this).attr(href);
			$(this).attr({ href: encodeURI(href) });
		});	
		
		var value= location.href.split("=")[1];
		$('.color_main em').html(value);
	
	});
	
	function addic(){
		var addval = $('.addressinput').val();
		return "restaurant.html?aid="+addval;
	}

</script>
</body>
</html>